from rest_framework import serializers


# 顶部新闻序列化器
from news.models import News


class TopNewsSerializer(serializers.ModelSerializer):
    class Meta:
        model = News

